<!DOCTYPE html>
<html lang="zh">
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> 
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>带4种特效的轻量级jQuery模态对话框插件|DEMO_jQuery之家-自由分享jQuery、html5、css3的插件库</title>
	<link rel="stylesheet" type="text/css" href="css/normalize.css" />
	<link rel="stylesheet" type="text/css" href="css/htmleaf-demo.css">
	<link rel="stylesheet" href="dist/jdialog.min.css">
      <link rel="stylesheet" href="site/rainbow-customer.min.css">
      <link rel="stylesheet" href="site/style.css">
	<!--[if IE]>

	<![endif]-->
</head>
<body>
	<div class="htmleaf-container">
		<header class="htmleaf-header">
			<h1>带4种特效的轻量级jQuery模态对话框插件 <span>A Minimal Animated Modal Popup Plugin For jQuery</span></h1>
			<div class="htmleaf-links">
				<a class="htmleaf-icon icon-htmleaf-home-outline" href="http://www.htmleaf.com/" title="jQuery之家" target="_blank"><span> jQuery之家</span></a>
				<a class="htmleaf-icon icon-htmleaf-arrow-forward-outline" href="http://www.htmleaf.com/jQuery/Lightbox-Dialog/201608303933.html" title="返回下载页" target="_blank"><span> 返回下载页</span></a>
			</div>
		</header>
	</div>
<div class="container">
    <p>
        jDialog is a jQuery plugin for modal dialog. By using this plugin, You
        can create interesting dialogs easily. It works in all modern browsers.
        Tested with jQuery 2.2+, file size is under 1KB, MIT Licensed.
    </p>
    <h2>Demo</h2>

    <button class="button" data-toggle="JDialog" data-target="dialog-1">fade in</button>
    <button class="button" data-toggle="JDialog" data-target="dialog-2">sticky up</button>
    <button class="button" data-toggle="JDialog" data-target="dialog-3">slide in</button>
    <button class="button" data-toggle="JDialog" data-target="dialog-4">flip</button>
</div>

<div class="jDialog" id="dialog-1">
    <div class="content">
        <h3>Modal Dialog</h3>
        <div>
            <p>This is a modal window. You can do the following things with it:</p>
            <ul>
                <li><strong>Read:</strong> modal windows will probably tell you something important so don't forget
                    to
                    read what they say.
                </li>
                <li><strong>Look:</strong> a modal window enjoys a certain kind of attention; just look at it and
                    appreciate its presence.
                </li>
                <li><strong>Close:</strong> click on the button below to close the modal.</li>
            </ul>
            <button class="button" data-dismiss="JDialog" id="test">Close me!</button>
        </div>
    </div>
</div>
<div class="jDialog" id="dialog-2">
    <div class="content">
        <h3>Modal Dialog</h3>
        <div>
            <p>This is a modal window. You can do the following things with it:</p>
            <ul>
                <li><strong>Read:</strong> modal windows will probably tell you something important so don't forget
                    to
                    read what they say.
                </li>
                <li><strong>Look:</strong> a modal window enjoys a certain kind of attention; just look at it and
                    appreciate its presence.
                </li>
                <li><strong>Close:</strong> click on the button below to close the modal.</li>
            </ul>
            <button class="button" data-dismiss="JDialog" id="test">Close me!</button>
        </div>
    </div>
</div>
<div class="jDialog" id="dialog-3">
    <div class="content">
        <h3>Modal Dialog</h3>
        <div>
            <p>This is a modal window. You can do the following things with it:</p>
            <ul>
                <li><strong>Read:</strong> modal windows will probably tell you something important so don't forget
                    to
                    read what they say.
                </li>
                <li><strong>Look:</strong> a modal window enjoys a certain kind of attention; just look at it and
                    appreciate its presence.
                </li>
                <li><strong>Close:</strong> click on the button below to close the modal.</li>
            </ul>
            <button class="button" data-dismiss="JDialog" id="test">Close me!</button>
        </div>
    </div>
</div>
<div class="jDialog" id="dialog-4">
    <div class="content">
        <h3>Modal Dialog</h3>
        <div>
            <p>This is a modal window. You can do the following things with it:</p>
            <ul>
                <li><strong>Read:</strong> modal windows will probably tell you something important so don't forget
                    to
                    read what they say.
                </li>
                <li><strong>Look:</strong> a modal window enjoys a certain kind of attention; just look at it and
                    appreciate its presence.
                </li>
                <li><strong>Close:</strong> click on the button below to close the modal.</li>
            </ul>
            <button class="button" data-dismiss="JDialog" id="test">Close me!</button>
        </div>
    </div>
</div>
	
	<script src="js/jquery-2.1.1.min.js" type="text/javascript"></script>
	<script>window.jQuery || document.write('<script src="js/jquery-2.1.1.min.js"><\/script>')</script>
	<script src="site/rainbow-custom.min.js"></script>
	<script src="dist/jdialog.min.js"></script>
	<script type="text/javascript">
		$("#dialog-1").jDialog({
	        skinClassName: 'demo',
	        animationType: 'fade-in'
	    });
	    $("#dialog-2").jDialog({
	        skinClassName: 'demo',
	        animationType: 'sticky-up'
	    });
	    $("#dialog-3").jDialog({
	        skinClassName: 'demo',
	        animationType: 'slide-in'
	    });
	    $("#dialog-4").jDialog({
	        skinClassName: 'demo',
	        animationType: 'flip',
	        allowOverlay: false
	    });
	</script>
</body>
</html>